<?php

namespace seecms\db;


use seecms\See;

/**
 * @property SeeDbQuery $attachment
 * @property SeeDbQuery $database_backup
 * @property SeeDbQuery $menu
 * @property SeeDbQuery $setting
 * @property SeeDbQuery $user_rule
 * @property SeeDbQuery $user_login
 * @property SeeDbQuery $user_message
 * @property SeeDbQuery $user_permission
 * @property SeeDbQuery $user_role
 * @property SeeDbQuery $user_rule_apply
 * @property SeeDbQuery $user
 */
class SeeDbTable
{
    public function __get($name)
    {
        return SeeDb::connect()->table(See::config()->database->prefix() . $name);
    }
}